package com.demo2.todo.service;

import com.demo2.todo.model.entity.Report;
import com.demo2.todo.model.enums.ReviewStatus;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author evi
 */
@Service
public interface AdminService {
    @Transactional
    void blacklistUser(Long userId);

    @Transactional
    void reviewTodo(Long id, ReviewStatus status, String comment);

    @Transactional
    void processReport(Long reportId, Report.ReportStatus status, Long adminId);
}
